package com.cicoding.bean;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author cl
 * @since 2019-05-17
 */
public class File implements Serializable {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 文件名称
     */
	private String fileName;
    /**
     * 文件路径
     */
	private String filePath;
	private Date createTime;
	private Integer fileTypeId;
    /**
     * 关联文章id
     */
	private Integer noticeId;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getFileTypeId() {
		return fileTypeId;
	}

	public void setFileTypeId(Integer fileTypeId) {
		this.fileTypeId = fileTypeId;
	}

	public Integer getNoticeId() {
		return noticeId;
	}

	public void setNoticeId(Integer noticeId) {
		this.noticeId = noticeId;
	}

	@Override
	public String toString() {
		return "File{" +
			"id=" + id +
			", fileName=" + fileName +
			", filePath=" + filePath +
			", createTime=" + createTime +
			", fileTypeId=" + fileTypeId +
			", noticeId=" + noticeId +
			"}";
	}
}
